﻿using System;
using System.IO;
using System.Threading;
using JiShiBen.Core.DataStructure;

namespace JiShiBen.Core
{
	public class AsyncReadState
	{
		public FileStream TargetStream { get; set; }

		public FileStream SourceStream { get; set; }

		public Fragment Fragment { get; set; }

		public byte[] ReadBuffer { get; set; }

		public long ReadOffset { get; set; }

		public int Remaining { get; set; }

		public ManualResetEvent ResetEvent { get; set; }
	}
}
